package com.mohe.shanpao.dao.crawler;


import java.util.List;

import com.mohe.shanpao.domain.crawler.CrawlRule;
import tk.mybatis.mapper.common.Mapper;

public interface CrawlRuleMapper extends Mapper<CrawlRule>{

    /**
     * @param username
     * @return
     */
	List<CrawlRule> listCrawlRules();
	
	 /**
     * 根据Item查询采集规则
     * @param item
     * @return
     * @see [类、类#方法、类#成员]
     */
	CrawlRule getCrawlRuleByItem(String item);
}
